<%--
  Created by IntelliJ IDEA.
  User: King_long
  Date: 2019-10-25
  Time: 16:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>电影管理</title>
    <link
        href="${pageContext.request.contextPath}/static/bootstrap-3.3.7-dist/bootstrap-3.3.7-dist/css/bootstrap.min.css"
        rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/bootstrap-3.3.7-dist/bootstrap-3.3.7-dist/js/bootstrap.js">

</head>
<body>
<hr>
<div class="row col-md-4 col-md-offset-5">
    <h3><a href="#">查询</a></h3>
    <h3><a href="${pageContext.request.contextPath}/addpage">发布</a></h3>
    <form action="${pageContext.request.contextPath}/fuzzysearch" method="post" onsubmit="return panduan()">
        <label>电影名称：</label><input type="text" name="filmName"/>
        <br>
        <label>电影类型：</label><select name="typeId"><br>
        <option value="0">全部</option>
        <c:forEach items="${sessionScope.filmTypes}" var="filmType">
            <option value="${filmType.typeId}">${filmType.typeName}</option>
        </c:forEach>
    </select><br>
        <label>主演：</label><input type="text" name="actor"/><br>
        <label>导演：</label><input type="text" name="director"/><br>
        <label>价格：</label><input id="price" type="number" name="lower"/>至<input id="price2" type="number" name="upper"/>
        <label>查询：</label><input id="sub" type="submit" value="提交"/><br>
    </form>
</div>
</body>
</html>
